Avoid calling customize-save-variable during startup (Bug#8720).
authorChong Yidong <cyd@stupidchicken.com>
Thu, 30 Jun 2011 01:39:52 +0000 (21:39 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 30 Jun 2011 01:39:52 +0000 (21:39 -0400)
commit4f27cd9293aff49cb9ef1924a63ada2b3ca5919d
tree15e3d8bf84d9e52d34c3633ad06c47956ef4d008
parentc182529e72d74536a0a458d45d95eae5a1d81a7b
Avoid calling customize-save-variable during startup (Bug#8720).

* lisp/cus-edit.el (customize-push-and-save): New function.

* lisp/files.el (hack-local-variables-confirm): Use it.

* lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
customize-push-and-save (Bug#8720).
(custom-enabled-themes): Doc fix.

* lisp/cus-theme.el (customize-create-theme)
(custom-theme-merge-theme): Callers to load-theme changed.
lisp/ChangeLog
lisp/cus-edit.el
lisp/cus-theme.el
lisp/custom.el
lisp/files.el